package com.example.dev_wang.appfacadedemo.Module.Login;

import com.example.dev_wang.appfacadedemo.Module.Login.Mediator.LoginMediator;
import com.example.dev_wang.appfacadedemo.Module.Login.ViewModel.LoginViewModel;
import com.example.puremvc_appfacade.Runs.Module;

/**
 * Created by dev_wang on 2017/2/3.
 */

public class LoginModule extends Module {

    @Override
    public void onRegister() {
//        super.onRegister();
        this.registerMediatorClass(LoginMediator.class);
        this.registerViewModelClass(LoginViewModel.class);

    }

    @Override
    public void onRemove() {
//        super.onRemove();
        this.removeAllMediator();
        this.removeAllViewModel();
    }
}
